Add the following to the root of the "package.json" file. "browser": { "fs": false, "path": false, "os": false }